class Test{
	public static void main (String[] args) {
		String s = "3.14";
		double d = Double.parseDouble(s);
		float f = Float.parseFloat(s);
		String s2 = "145";
		int i = Integer.parseInt(s2);
	}	
}